package com.site.wisdom_construction.entity.personnelModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-05 
 */

@ApiModel (value ="培训-人员对应表实体类",description = "SafetyTrainingWorkers")
public class SafetyTrainingWorkers {
	/**
	 * 培训-人员对应表ID
	 */
   	@ApiModelProperty(value = "培训-人员对应表ID", name = "id")
	private Integer id;

	/**
	 * 安全培训ID
	 */
   	@ApiModelProperty(value = "安全培训ID", name = "safetyTrainingId")
	private Integer safetyTrainingId;

	/**
	 * 劳务人员ID
	 */
   	@ApiModelProperty(value = "劳务人员ID", name = "contractWorkersId")
	private Integer contractWorkersId;

	/**
	 * 劳务人员ID
	 */
	@ApiModelProperty(value = "劳务人员姓名", name = "workerName")
	private String workerName;

	/**
	 * 劳务人员ID
	 */
	@ApiModelProperty(value = "劳务人员身份证号", name = "workerCard")
	private String workerCard;

	/**
	 * 劳务队名称
	 */
	@ApiModelProperty(value = "劳务队名称", name = "subcontractorsName")
	private String subcontractorsName;

	/**
	 * 工种名称
	 */
	@ApiModelProperty(value = "工种名称", name = "professionName")
	private String professionName;

	/**
	 * 班组名称
	 */
	@ApiModelProperty(value = "班组名称", name = "teamName")
	private String teamName;

	public SafetyTrainingWorkers(){ super(); }

	public SafetyTrainingWorkers(Integer id, Integer safetyTrainingId, Integer contractWorkersId, String workerName, String workerCard, String subcontractorsName, String professionName, String teamName) {
		this.id = id;
		this.safetyTrainingId = safetyTrainingId;
		this.contractWorkersId = contractWorkersId;
		this.workerName = workerName;
		this.workerCard = workerCard;
		this.subcontractorsName = subcontractorsName;
		this.professionName = professionName;
		this.teamName = teamName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSafetyTrainingId() {
		return safetyTrainingId;
	}

	public void setSafetyTrainingId(Integer safetyTrainingId) {
		this.safetyTrainingId = safetyTrainingId;
	}

	public Integer getContractWorkersId() {
		return contractWorkersId;
	}

	public void setContractWorkersId(Integer contractWorkersId) {
		this.contractWorkersId = contractWorkersId;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getWorkerCard() {
		return workerCard;
	}

	public void setWorkerCard(String workerCard) {
		this.workerCard = workerCard;
	}

	public String getSubcontractorsName() {
		return subcontractorsName;
	}

	public void setSubcontractorsName(String subcontractorsName) {
		this.subcontractorsName = subcontractorsName;
	}

	public String getProfessionName() {
		return professionName;
	}

	public void setProfessionName(String professionName) {
		this.professionName = professionName;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", safetyTrainingId=" + safetyTrainingId +
				", contractWorkersId=" + contractWorkersId +
				", workerName='" + workerName + '\'' +
				", workerCard='" + workerCard + '\'' +
				", subcontractorsName='" + subcontractorsName + '\'' +
				", professionName='" + professionName + '\'' +
				", teamName='" + teamName + '\'' +
				'}';
	}
}
